import request from '@/utils/request'
export function getRechargeList(data) {
    return request({
      url: 'http://localhost:9020/api/withdrawalRecords/findPage',
      method: 'post',
      data
    })
  }
export function getRechargeOne(id) {
  return request({
    url: 'http://localhost:9020/api/withdrawalRecords/findOne',
    method: 'get',
    params: { id }
  })
}
export function getRechargeUpdate(transactionId) {
  return request({
    url: 'http://localhost:9020/api/withdrawalRecords/updateOne',
    method: 'post',
    params: { transactionId }
  })
}
export function getRechargeAdd(data) {
  return request({
    url: 'http://localhost:9020/api/withdrawalRecords/addOne',
    method: 'post',
    data
  })
}
export function elMessage(data) {
  return request({
    url: 'http://localhost:9020/api/withdrawalRecords/addOtherMessage',
    method: 'post',
    data
  })
}